import request from '@/utils/request';

// 获取AI助手的默认回复
export function getAIGreeting() {
  return request({
    url: '/ai/greeting',
    method: 'get'
  });
}

// 向AI提问
export function askAI(question) {
  return request({
    url: '/ai/ask',
    method: 'post',
    params: { question }
  });
}
